home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / include / x11 / ximlibin.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-11  |  2.9 KB  |  89 lines

  1. /*
  2.  * $XConsortium: XIMlibint.h,v 1.13 92/07/29 13:55:45 rws Exp $
  3.  */
  4.  
  5. /*
  6.  * Copyright 1990, 1991 by OMRON Corporation
  7.  * Copyright 1991 by the Massachusetts Institute of Technology
  8.  *
  9.  * Permission to use, copy, modify, distribute, and sell this software and its
  10.  * documentation for any purpose is hereby granted without fee, provided that
  11.  * the above copyright notice appear in all copies and that both that
  12.  * copyright notice and this permission notice appear in supporting
  13.  * documentation, and that the names of OMRON and MIT not be used in
  14.  * advertising or publicity pertaining to distribution of the software without
  15.  * specific, written prior permission.  OMRON and MIT make no representations
  16.  * about the suitability of this software for any purpose.  It is provided
  17.  * "as is" without express or implied warranty.
  18.  *
  19.  * OMRON AND MIT DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  20.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  21.  * EVENT SHALL OMRON OR MIT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  22.  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  23.  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  24.  * TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  25.  * PERFORMANCE OF THIS SOFTWARE. 
  26.  *
  27.  *    Author:    Seiji Kuwari    OMRON Corporation
  28.  *                kuwa@omron.co.jp
  29.  *                kuwa%omron.co.jp@uunet.uu.net
  30.  */                
  31.  
  32. #ifndef    _XIMLIBINT_H_
  33. #define    _XIMLIBINT_H_
  34.  
  35. #include "XIMproto.h"
  36.  
  37. #define    XIM_INPUTMETHOD        "_XIM_INPUTMETHOD"
  38.  
  39. #ifndef    ESC
  40. #define    ESC            0x1b
  41. #endif    /* ESC */
  42. #define    ASCII_DESIGNATE        "\033\050\102"
  43.  
  44. #define hname_size        128
  45. #define offset_of_portnumber    hname_size
  46. #define portnumber_size        2
  47. #define offset_of_version    (offset_of_portnumber + portnumber_size)
  48. #define version_size        4
  49. #define offset_of_minor_version    (offset_of_version + version_size)
  50.  
  51. #define ipIMofIC(ic) ((XipIM)ic->core.im)
  52. #ifndef    NO_LOCAL_IM
  53. #define ipLocalIMofIC(ic) ((XipLocalIM)ic->core.im)
  54. #endif
  55.  
  56. extern short    _XipTypeOfNextICQueue();
  57. extern KeySym    _XipKeySymOfNextICQueue();
  58. extern unsigned int    _XipStateOfNextICQueue();
  59. extern char *    _XipStringOfNextICQueue();
  60. extern void    _XipFreeNextICQueue();
  61. extern int    _XipPutICQueue();
  62. extern void    _XipGetNextICQueue();
  63. extern void    _XipFreeAllICQueue();
  64. extern void    _XipSaveOverflowICQueue();
  65. extern void    _XipGetOverflowICQueue();
  66. extern int    _XipWriteToIM();
  67. extern int    _XipReadFromIM();
  68. extern int    _XipFlushToIM();
  69. extern void    _XipSetCurSock();
  70. extern void    _XipSetCurIM();
  71. extern Bool    _XipConnectIM();
  72. extern void    _XipDisconnectIM();
  73. extern int    _XipCallCallbacks();
  74. extern Bool    _XipBackEndFilter();
  75. extern Status    _XipReceiveICValues();
  76. extern int    _XipSendICValues();
  77. extern Bool    _XipCreateDefIC();
  78. extern char *    _XipICSetAttrValues();
  79. extern char *    _XipICSetValues();
  80. extern char *    _XipICGetValues();
  81. #ifndef    NO_LOCAL_IM
  82. extern Bool    _XipBackEndFilter();
  83. #endif
  84. #ifdef    XML
  85. extern void    _XipChangeLocale();
  86. #endif    /* XML */
  87.  
  88. #endif    /* _XIMLIBINT_H_ */
  89.